package com.fawkes.ios;

import lombok.extern.slf4j.Slf4j;

/**
 * @author xuetieqi
 * @date 2023/4/15 7:48 PM
 **/
@Slf4j
public class Test4 {

    private Test<Long> test;

    public Test4(Test<Long> test) {
        this.test = test;
    }

    public void funtion(Long msg){
        test.test1(msg);
    }

    public static void main(String[] args) {
        Test4 test4 = new Test4(
                msg ->{log.info(msg.toString());}
        );
        test4.funtion(11L);

    }
}
